package com.yuncheng.oaApi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuncheng.oaApi.entity.OaJobEntity;
import com.yuncheng.vo.CurrentUserVo;
import com.yuncheng.oaApi.vo.OaJobVo;
import com.yuncheng.oaApi.vo.OaProcessBusinessVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 审评查验申请事项的流转记录
 * @Author: lhb
 * @Date: 2023-03-01
 * @Version: V1.0
 */
public interface OaSpcySqsxJobMapper extends BaseMapper<OaJobEntity> {

    Page<OaProcessBusinessVo> getAllDb(Page<OaProcessBusinessVo> page,
                                       @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                       @Param("user") CurrentUserVo user,
                                       @Param("OaProcessBusinessVo") OaProcessBusinessVo oaProcessBusinessVo);


    Page<OaProcessBusinessVo> getAllNkDb(Page<OaProcessBusinessVo> page,
                                       @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                       @Param("user") CurrentUserVo user,
                                       @Param("OaProcessBusinessVo") OaProcessBusinessVo oaProcessBusinessVo);




    Page<OaProcessBusinessVo> getAllYb(Page<OaProcessBusinessVo> page,
                                       @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                       @Param("user") CurrentUserVo user,
                                       @Param("OaProcessBusinessVo") OaProcessBusinessVo oaProcessBusinessVo);



    Page<OaProcessBusinessVo> getJcyAllYb(Page<OaProcessBusinessVo> page,
                                       @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                       @Param("user") CurrentUserVo user,
                                       @Param("OaProcessBusinessVo") OaProcessBusinessVo oaProcessBusinessVo);



    Page<OaProcessBusinessVo> UserYb(Page<OaProcessBusinessVo> page,
                                     @Param("OaProcessBusinessVo") OaProcessBusinessVo oaProcessBusinessVo);



    List<OaJobVo> selectMySpcyRwlList(@Param("userid")String userid,
                                      @Param("fywlx")String fywlx,
                                      @Param("fblzt")String fblzt,
                                      @Param("year")String year,
                                      @Param("yearMonth")String yearMonth);

}
